#pragma once

class MyArray
{
private:
        int m_length;
        int *m_space;

public:
        MyArray(int length);
        MyArray(const MyArray &obj);
        ~MyArray();

public:
        void setData(int index, int value);
        int getData(int index);
        int length();
};